package com.oxi.bigu.presentation;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.novaroma.bigu.R;

public class MenuBigu extends Activity {
	public final static int CONSTANTE_TELA_MENUBIGU = 1;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_menu_bigu);
	}
	
	public void solicitarCarona(View view){
		Intent intent = new Intent();
		intent.setClass(MenuBigu.this, SolicitarCarona.class);
		startActivity(intent);
	}
	
	public void redeCaroneiros(View view){
		Bundle params = new Bundle();
		params.putString("acao", "rede");

		Intent intent = new Intent(this, Map.class);
        intent.putExtras(params);
        
        startActivityForResult(intent, CONSTANTE_TELA_MENUBIGU);
	}
}
